package aps

import glory.xxd.Utils

/**
 * 当前设备作业量查询
 */
class SearchEQPInfoController {

    def commentService

    def index() {
        def EqpId = params.EqpId?:""
        def body = CommentParams.newInstance()
        body.setEqpId(EqpId)
        String logUUID =  Utils.getUUID();
        Header header = Header.newInstance()
        header.setMESSAGENAME("SearchEQPInfo");
        header.setTRANSACTIONID(logUUID);
        def json = commentService.getJsonByObjectForQueue2Queue(logUUID,header,body)

        render json
    }
}
